package org.hepotaiya.sample.spring.batch;

import javax.annotation.Resource;

import org.hepotaiya.sample.spring.logic.HogeLogic;
import org.springframework.stereotype.Component;
import org.zzz.hepotaiya.annotation.Entry;

@Component
public class HogeBatch {
	@Resource
	private HogeLogic hogeLogic;
	
	@Entry(phase=1)
	public void hoge(){
		System.out.println("hogeBatch#hoge " + hogeLogic.getMessage());
	}
	@Entry(phase=2)
	public void huga(){
		System.out.println("hogeBatch#huga "+hogeLogic.getMessage());
	}
	@Entry(phase=3)
	public void moge(){
		System.out.println("hogeBatch#moge" + hogeLogic.getMessage());
	}
}
